package com.example.everying.service.school;/*
 * 项目名称: everything
 * 文件名: SchoolService
 * 作者: 张泽阳
 * 日期: 2025/5/19
 * 描述:
 */

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.everying.model.dto.school.SchoolPageDto;
import com.example.everying.model.entity.school.SchoolEntity;
import com.example.everying.utils.Result;

public interface SchoolService extends IService<SchoolEntity> {

    IPage<SchoolEntity> selectPage(Page<SchoolEntity> pageParam, SchoolPageDto schoolPageDto);

    Result<?> updateSchool(SchoolEntity schoolEntity);

    Result<?> querySchoolById(String id);

    SchoolEntity getSchoolByName(String name);


}
